# $OpenBSD: patch-Makefile,v 1.1.1.1 2002/11/07 18:02:16 jakob Exp $
--- Makefile.orig	Mon Oct  8 23:11:16 2001
+++ Makefile	Thu Nov  7 16:52:05 2002
@@ -1,26 +1,23 @@
-CC= gcc
 PFLAGS= -cache-dir=/tmp/${USER} 
 PURIFY= purify ${PFLAGS}
-INCS= -I/usr/local/ssl/include
-LIBS= -L/usr/local/ssl/lib -L. -lnsl -lssl -lcrypto -lutl
+INCS= -I/usr/include
+LIBS= -L/usr/lib -L. -lssl -lcrypto -lutl
 SRCS= sslsniffer.c 
 OBJS= ${SRCS:.c=.o}
 BINS= sslsniffer
 UTL_LIB= libutl.a
 UTL_SRCS= general_utilities.c net_utilities.c
 AR= ar
-ARFLAGS= rs
+ARFLAGS= r
 BINS.PURIFY= sslpure
 
-CCFLAGS= -g -Wall -O3 -pedantic ${INCS} 
-
 all: $(UTL_LIB) ${BINS} 
 
 %.o: %.c
-	${CC} ${CCFLAGS} -c $<
+	${CC} ${CFLAGS} ${INCS} -c $<
 
 ${BINS}: ${OBJS}
-	${CC} ${CCFLAGS} -o $@  ${OBJS} ${LIBS} 
+	${CC} ${CFLAGS} ${INCS} -o $@  ${OBJS} ${LIBS} 
 
 $(UTL_LIB): general_utilities.o net_utilities.o
 	${AR} ${ARFLAGS} $@ general_utilities.o net_utilities.o
